home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / program / gtld3656.lha / GadUtil / Docs / AutoDocs / 06.GU_CountNodes < prev    next >
Text File  |  1995-05-27  |  727b  |  26 lines

  1. gadutil.library/GU_CountNodes                   gadutil.library/GU_CountNodes
  2.  
  3.    NAME
  4.     GU_CountNodes -- Count number of nodes in a list.
  5.  
  6.    SYNOPSIS
  7.     numnodes = GU_CountNodes(list)
  8.     D0                       A0
  9.  
  10.     ULONG GU_CountNodes(struct List *);
  11.  
  12.    FUNCTION
  13.     This function will count the number of nodes attached to a list.
  14.  
  15.    INPUTS
  16.     list - a pointer to the list to get the number of nodes in
  17.  
  18.    RESULT
  19.     numnodes - number of nodes that was in the list for the moment.
  20.  
  21.    NOTES
  22.     Use Forbid() and Permit() around a call to this function if you
  23.     are using it on a list that can change at any time (e.g. a list
  24.     that wasn't created by yourself). This function may not be accurate
  25.     when you are using it on a system list.
  26.